﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mimoza.Transport;

namespace Mimoza.DBLayer.Transport.Common
{
    public class RegistrationRequest :
        TransferObjectGeneric<RegistrationRequest, RegistrationReply>
    {
        public RegistrationRequest()
        {
            m_transportDbLayerId = Guid.NewGuid();
        }

        public Guid TransportDbLayerId
        {
            get { return m_transportDbLayerId; }
            set { m_transportDbLayerId = value; }
        }

        Guid m_transportDbLayerId;
    }

    public class RegistrationReply :
        TransferObjectGenericReply<RegistrationReply>
    {
        public RegistrationReply()
        {
        }

        public RegistrationReply(Guid transportDbLayerId)
        {
            m_transportDbLayerId = transportDbLayerId;
        }

        public Guid TransportDbLayerId
        {
            get { return m_transportDbLayerId; }
            set { m_transportDbLayerId = value; }
        }

        Guid m_transportDbLayerId;
    }
}
